﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Jacaranda.Model
{
    public class NegationOperator : ConditionalExpression
    {
        public ConditionalExpression Operand { get; set; }

        internal override string GenerateSql(Type propertyEntityType)
        {
            return string.Format("NOT ({0})", Operand.GenerateSql(propertyEntityType));
        }
    }
}
